#include <time.h>

#ifndef TIMER_H
#define TIMER_H
class Timer {
	time_t start;
	long   limit;		// For triggering timeouts
public:
	Timer(long _limit);
	Timer();
	abstract void handle(void* _obj);
	bool isExpired();
	long elapsed();
	void reset();
}
#endif